imwayland: Fix clearing of preedit text in webkitgtk
authorDorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
Tue, 11 Sep 2018 12:12:28 +0000 (12:12 +0000)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 18 Dec 2018 19:27:12 +0000 (20:27 +0100)
commitc4b4e90f9841923b78354afed1b298d6a26c9135
treeb1869d09b71cdf442de3e39555d44749851fd088
parentfcf28ded425181d7add5e3a35b0329f93bf660e1
imwayland: Fix clearing of preedit text in webkitgtk

Fixes webkitgtk misbehaviour as outlined in https://gitlab.gnome.org/GNOME/gtk/issues/1316#note_312942 , which was introduced in 49b17e6c.
The preedit will be cleared on exit only if it is already present.
gtk/gtkimcontextwayland.c